package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.Volunteer;

public interface VolunteerService extends IService<Volunteer> {
    
    // 查询志愿者信息
    Volunteer getVolunteerInfo(Long id);
    
    // 分页查询志愿者列表
    Page<Volunteer> getVolunteerList(Integer pageNum, Integer pageSize, String keyword, Integer status);
    
    // 添加志愿者
    boolean addVolunteer(Volunteer volunteer);
    
    // 更新志愿者信息
    boolean updateVolunteer(Volunteer volunteer);
    
    // 删除志愿者
    boolean deleteVolunteer(Long id);
    
    // 批量删除志愿者
    boolean batchDeleteVolunteers(Long[] ids);
    
    // 更新志愿者状态
    boolean updateVolunteerStatus(Long id, Integer status);
} 